const cloud = require('wx-server-sdk');

const db = cloud.database()

exports.main = async (event,context)=>{
	await db.collection('feedback').add({
		data: event.data
	})
	return {'msg':'ok','data':[]}
}